import { ReqSearchList } from '@/api';
const state = {
  search: {},
};
const mutations = {
  SAVE_SEARCH_LIST(state, value) {
    state.search = value;
  },
};
const actions = {
  async asyncGetSearchList({ commit }, searchParams) {
    let data = await ReqSearchList(searchParams);
    commit('SAVE_SEARCH_LIST', data);
  },
};
const getters = {};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters,
};
